package com.ch.dream.activity.shortstory;

import android.os.Bundle;

import com.ch.dream.R;
import com.ch.dream.base.BaseActivity;
import com.ch.dream.logic.shortstory.StoryContentLogic;

public class StoryContentActivity extends BaseActivity {

	private StoryContentLogic logic;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setTitle(getResources().getString(R.string.back),"创造的故事","收藏");
		logic = new StoryContentLogic(this);
		logic.setViews(R.layout.s_story_content);
		logic.init();
	}
	
	@Override
	protected void handlerTitleBarEvent(int mode) {
		if(mode==LEFT_BUTTON){
			finish();
		}else if(mode==RIGHT_BUTTON){
			logic.collect();
		}
	}

}
